package com.cloudbroker.bcs.csvc.uf30.api.entity;

import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by xuyn15828 on 2016/3/21.
 * 
 * LS_资金管理外围_客户转账流水查询 resultset_890524
 */
public class FundPaybkTransferResult implements Serializable {
    private String tenacomp_id;
    private String init_date;
    private String serial_no;
    private String cif_id;
    private String curr_date;
    private String curr_time;
    private String business_time;
    private String clear_date;
    private String equal_date;
    private String extrans_id;
    private String sendercomp_id;
    private String money_type;
    private String payexample_type;
    private String paychannel_type;
    private String bank_no;
    private String bank_account;
    private String occur_balance;
    private String tip;
    private String drap_balance;
    private String post_balance;
    private String trans_id;
    private String bktrans_id;
    private String join_serial_no;
    private String channelerror_no;
    private String channelerror_info;
    private String pay_dir_flag;
    private String trans_status;
    private String position_str;
    private String remark;
    
    public String getTenacomp_id() {
        return tenacomp_id;
    }
    
    public void setTenacomp_id(String tenacomp_id) {
        this.tenacomp_id = tenacomp_id;
    }
    
    public String getInit_date() {
        return init_date;
    }
    
    public void setInit_date(String init_date) {
        this.init_date = init_date;
    }
    
    public String getSerial_no() {
        return serial_no;
    }
    
    public void setSerial_no(String serial_no) {
        this.serial_no = serial_no;
    }
    
    public String getCif_id() {
        return cif_id;
    }
    
    public void setCif_id(String cif_id) {
        this.cif_id = cif_id;
    }
    
    public String getCurr_date() {
        return curr_date;
    }
    
    public void setCurr_date(String curr_date) {
        this.curr_date = curr_date;
    }
    
    public String getCurr_time() {
        return curr_time;
    }
    
    public void setCurr_time(String curr_time) {
        this.curr_time = curr_time;
    }
    
    public String getBusiness_time() {
        return business_time;
    }
    
    public void setBusiness_time(String business_time) {
        this.business_time = business_time;
    }
    
    public String getClear_date() {
        return clear_date;
    }
    
    public void setClear_date(String clear_date) {
        this.clear_date = clear_date;
    }
    
    public String getEqual_date() {
        return equal_date;
    }
    
    public void setEqual_date(String equal_date) {
        this.equal_date = equal_date;
    }
    
    public String getExtrans_id() {
        return extrans_id;
    }
    
    public void setExtrans_id(String extrans_id) {
        this.extrans_id = extrans_id;
    }
    
    public String getSendercomp_id() {
        return sendercomp_id;
    }
    
    public void setSendercomp_id(String sendercomp_id) {
        this.sendercomp_id = sendercomp_id;
    }
    
    public String getMoney_type() {
        return money_type;
    }
    
    public void setMoney_type(String money_type) {
        this.money_type = money_type;
    }
    
    public String getPayexample_type() {
        return payexample_type;
    }
    
    public void setPayexample_type(String payexample_type) {
        this.payexample_type = payexample_type;
    }
    
    public String getPaychannel_type() {
        return paychannel_type;
    }
    
    public void setPaychannel_type(String paychannel_type) {
        this.paychannel_type = paychannel_type;
    }
    
    public String getBank_no() {
        return bank_no;
    }
    
    public void setBank_no(String bank_no) {
        this.bank_no = bank_no;
    }
    
    public String getBank_account() {
        return bank_account;
    }
    
    public void setBank_account(String bank_account) {
        this.bank_account = bank_account;
    }
    
    public String getOccur_balance() {
        return occur_balance;
    }
    
    public void setOccur_balance(String occur_balance) {
        this.occur_balance = occur_balance;
    }
    
    public String getTip() {
        return tip;
    }
    
    public void setTip(String tip) {
        this.tip = tip;
    }
    
    public String getDrap_balance() {
        return drap_balance;
    }
    
    public void setDrap_balance(String drap_balance) {
        this.drap_balance = drap_balance;
    }
    
    public String getPost_balance() {
        return post_balance;
    }
    
    public void setPost_balance(String post_balance) {
        this.post_balance = post_balance;
    }
    
    public String getTrans_id() {
        return trans_id;
    }
    
    public void setTrans_id(String trans_id) {
        this.trans_id = trans_id;
    }
    
    public String getBktrans_id() {
        return bktrans_id;
    }
    
    public void setBktrans_id(String bktrans_id) {
        this.bktrans_id = bktrans_id;
    }
    
    public String getJoin_serial_no() {
        return join_serial_no;
    }
    
    public void setJoin_serial_no(String join_serial_no) {
        this.join_serial_no = join_serial_no;
    }
    
    public String getChannelerror_no() {
        return channelerror_no;
    }
    
    public void setChannelerror_no(String channelerror_no) {
        this.channelerror_no = channelerror_no;
    }
    
    public String getChannelerror_info() {
        return channelerror_info;
    }
    
    public void setChannelerror_info(String channelerror_info) {
        this.channelerror_info = channelerror_info;
    }
    
    public String getPay_dir_flag() {
        return pay_dir_flag;
    }
    
    public void setPay_dir_flag(String pay_dir_flag) {
        this.pay_dir_flag = pay_dir_flag;
    }
    
    public String getTrans_status() {
        return trans_status;
    }
    
    public void setTrans_status(String trans_status) {
        this.trans_status = trans_status;
    }
    
    public String getPosition_str() {
        return position_str;
    }
    
    public void setPosition_str(String position_str) {
        this.position_str = position_str;
    }
    
    public String getRemark() {
        return remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
    
    @Override
    public String toString() {
        return new ToStringBuilder(this).append("bank_account", bank_account).append("tenacomp_id", tenacomp_id)
                .append("init_date", init_date).append("serial_no", serial_no).append("cif_id", cif_id)
                .append("curr_date", curr_date).append("curr_time", curr_time)
                .append("business_time", business_time).append("clear_date", clear_date)
                .append("equal_date", equal_date).append("extrans_id", extrans_id)
                .append("sendercomp_id", sendercomp_id).append("money_type", money_type)
                .append("payexample_type", payexample_type).append("paychannel_type", paychannel_type)
                .append("bank_no", bank_no).append("occur_balance", occur_balance).append("tip", tip)
                .append("drap_balance", drap_balance).append("post_balance", post_balance)
                .append("trans_id", trans_id).append("bktrans_id", bktrans_id)
                .append("join_serial_no", join_serial_no).append("channelerror_no", channelerror_no)
                .append("channelerror_info", channelerror_info).append("pay_dir_flag", pay_dir_flag)
                .append("trans_status", trans_status).append("position_str", position_str).append("remark", remark)
                .toString();
    }
    
    @Override
    public boolean equals(Object o) {
        if (this == o)
            return true;
        if (o == null || getClass() != o.getClass())
            return false;
        FundPaybkTransferResult that = (FundPaybkTransferResult) o;
        return new EqualsBuilder().append(tenacomp_id, that.tenacomp_id).append(init_date, that.init_date)
                .append(serial_no, that.serial_no).append(cif_id, that.cif_id).append(curr_date, that.curr_date)
                .append(curr_time, that.curr_time).append(business_time, that.business_time)
                .append(clear_date, that.clear_date).append(equal_date, that.equal_date)
                .append(extrans_id, that.extrans_id).append(sendercomp_id, that.sendercomp_id)
                .append(money_type, that.money_type).append(payexample_type, that.payexample_type)
                .append(paychannel_type, that.paychannel_type).append(bank_no, that.bank_no)
                .append(bank_account, that.bank_account).append(occur_balance, that.occur_balance)
                .append(tip, that.tip).append(drap_balance, that.drap_balance)
                .append(post_balance, that.post_balance).append(trans_id, that.trans_id)
                .append(bktrans_id, that.bktrans_id).append(join_serial_no, that.join_serial_no)
                .append(channelerror_no, that.channelerror_no).append(channelerror_info, that.channelerror_info)
                .append(pay_dir_flag, that.pay_dir_flag).append(trans_status, that.trans_status)
                .append(position_str, that.position_str).append(remark, that.remark).isEquals();
    }
    
    @Override
    public int hashCode() {
        return new HashCodeBuilder(17, 37).append(tenacomp_id).append(init_date).append(serial_no).append(cif_id)
                .append(curr_date).append(curr_time).append(business_time).append(clear_date).append(equal_date)
                .append(extrans_id).append(sendercomp_id).append(money_type).append(payexample_type)
                .append(paychannel_type).append(bank_no).append(bank_account).append(occur_balance).append(tip)
                .append(drap_balance).append(post_balance).append(trans_id).append(bktrans_id)
                .append(join_serial_no).append(channelerror_no).append(channelerror_info).append(pay_dir_flag)
                .append(trans_status).append(position_str).append(remark).toHashCode();
    }
}
